package com.health.pojo.dto;

import lombok.Data;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.NotBlank;
import io.swagger.v3.oas.annotations.media.Schema;

/**
 * 用户操作日志入参对象
 *
 * @author WUYU_MIN
 * @date 2025-04-29 23:51:18
 */
@Data
public class SystemLogDTO {

    /**
     * 操作用户ID:
     */
    @Schema(description = "操作用户ID")
    private Integer userId;

    /**
     * 操作类型: 必填
     */
    @NotBlank(groups = { CreateGroup.class }, message = "操作类型不能为空")
    @Schema(description = "操作类型: 必填")
    private String operationType;

    /**
     * 操作结果: 必填
     */
    @NotBlank(groups = { CreateGroup.class }, message = "操作结果不能为空")
    @Schema(description = "操作结果: 必填")
    private String operationResult;
}
